package com.xxl.job.executor;

import com.xxl.job.executor.core.config.XxlJobConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.data.mongodb.repository.config.EnableMongoRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author xuxueli 2018-10-28 00:38:13
 */
@SpringBootApplication
@MapperScan("com.godtree.dao")
@EnableTransactionManagement
@ComponentScan(value = {"com.godtree", "com.xxl.job.executor"})
// @EnableMongoRepositories("com.godtree.repository")
public class XxlJobExecutorApplication {

  public static void main(String[] args) {
    SpringApplication.run(XxlJobExecutorApplication.class, args);
  }

}